home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
07
/
8
/
DISK0786.ZIP
/
AUTOMENU.ARC
/
DOS.MDF
< prev
next >
Wrap
Text File
|
1986-10-09
|
4KB
|
137 lines
...............................................................................
.Automenu DOS Menu Example
.By Marshall W. Magee
.Updated last on 10/09/86
...............................................................................
%Automenu(tm) Simple DOS Menu
.................................................
*Check Disk
?Print information about disk
>Enter Drive you wish to do a Check Disk of:
> For Example: Enter 'A:' to check drive A:
>
<
>
>Now performing a check disk of drive -> %1
=CHKDSK %1
.................................................
*Print Directory to Screen
?List filenames on disk
>Select Directory you wish to see the Directory of:
<A:,C:,D:
>
>Select directory command option:
>
> /W This option prints filenames across screen
> /P This option will pause when screen fills
> /W/P This option is a combination of the above two options
>
</W,/P,/W/P
>
>Now listing files on drive -> %1 with option -> %2
=DIR %1%2
.................................................
*Execute any DOS Command
>Enter any valid DOS Command and Press Return (ESC to return to Menu)
<
>...Now Executing >> %1
=%1
.................................................
*Choose a DOS Command
>Select any of the DOS Commands below and Press Return (ESC to return to Menu)
>
<DIR,dir A:,CHKDSK,CHKDSK/F,VER,SET,TIME,DATE
>
>...Now Executing >> %1
=%1
.................................................
*Return to Main Menu
?Will return to Main Menu
@automenu.MDF
.................................................
%Common DOS Functions
.................................................
*Copy a file to another disk drive
?Copy a file
>Enter filename to be copied (Press ESC to Quit)
> For Example: TEST.DAT
> C:SAM.*
<
>Select which drive to copy it to:
<A:\,B:,C:,D:,A:\PUBLIC
>
>Now coping file %1 to %2
-COPY %1 %2
.................................................
*Move a file to another disk drive
?Move a file or files
>This option will copy the files to a new location and erase old files
>
>
>
>Enter filename to be moved (Press ESC to Quit)
> For Example: TEST.DAT or C:TEST.DAT
>
<
>Select which drive to move it to:
<A:\,B:,C:,D:,A:\PUBLIC
>
>Now moving file %1 to %2
!COPY %1 %2
!ERASE %1
.................................................
*Erase a file
?Erase a file (Password = OK)
^OK
>Enter filename to be erased (Press ESC to Quit)
> For Example: TEST.DAT or C:TEST.DAT
>
<
-ERASE %1
.................................................
*Rename a file
>Enter old filename to be renamed (Press ESC to Quit)
> For Example: TEST.DAT or D:TEST.DAT
>
<
>Enter new filename, without drive specified.
>
<
-REN %1 %2
.................................................
*Format a data diskette in B:
^BOB
?Format disk in Drive B: using "ZFORMAT B:"
=ZFORMAT B:
.................................................
*Format diskette in B: with system on it
?Format disk in Drive B: using "ZFORMAT B:/S/V"
^BOB
=ZFORMAT B:/S/V
.................................................
*Return to Main Menu
?Will return to Main Menu
@automenu.MDF
.................................................
%Backup Menu
.................................................
*Prepare diskette in A: to be used for backup
+ECHO Enter Ctrl-Break & "Y" to STOP format
+PAUSE
+ZFORMAT A:
+AUTO
.................................................
*Total Backup of Drive C:
+BACKUP C:\ A:/S
+AUTO
.................................................
*Update backup for files changed on Drive C:
+BACKUP C:\ A:/S/M
+AUTO
.................................................
*Return to Main Menu
?Will return to Main Menu
@automenu.MDF
.................................................
#END OF DOS.MDF